package com.foreveross.fetl.common.exception;

public abstract class BaseException extends Exception {
	/**
	 * 
	 */
	private static final long serialVersionUID = 973025298452083364L;

	public BaseException(){
		super(String.valueOf(getExceptionCode()));
	}
	
	public BaseException(String message){
		super(message);
	}
	
	public BaseException(String message,Throwable rootCause){
		super(message,rootCause);
	}
	
	public BaseException(String message, Exception ex){
		super(message,ex);
	}

	public static long getExceptionCode() {
		return 1000L;
	}
	
	
}
